package com.itheima.demo02;

public class BMWMotorbike extends Car implements GPS {
    @Override
    public void run() {
        System.out.println("宝马摩托车跑的很快!");
    }

    @Override
    public void GPS() {
        System.out.println("宝马摩托车有GPS!");
    }

    public BMWMotorbike() {
    }

    public BMWMotorbike(String brand, int price) {
        super(brand, price);
    }
}
